package com.liang.subject.domain.handler.subject;

import com.liang.subject.common.enums.SubjectInfoTypeEnum;
import com.liang.subject.domain.entity.SubjectInfoBO;
import com.liang.subject.domain.entity.SubjectOptionBO;

public interface SubjectTypeHandler {
    /**
     * 枚举身份的识别
     */
    SubjectInfoTypeEnum getSubjectType();

    /**
     * 实际题目的插入
     */
    void save(SubjectInfoBO subjectInfoBO);

    /**
     * 查询题目信息
     */
    SubjectOptionBO querySubjectInfo(Long subjectId);
}
